@import '~antd/dist/antd.less';

body {
  margin: 0;
  font-family: "-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.flex{
  display: flex;
}

.item_center{
  align-items: center;
}

.justify_center{
  justify-content: center;
}

// 修改antd Menu样式
.ant-menu-vertical {
  min-width: 100px !important;
  padding: 12px 20px 0 12px !important;
}

// Menu 下划线样式
.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item:hover::after, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu:hover::after, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-active::after, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-active::after, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-open::after, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-open::after, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item-selected::after, .ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-selected::after{
  border-bottom: 4px solid #FF0017 !important;
  transition: width .2s ease-in !important;
  border-radius: 2px;
}

// MenuItem样式 
.ant-menu-vertical > .ant-menu-item {
  padding: 0;
  margin-top: 0;
  margin-bottom: 12px;
  height: 22px;
  line-height: 22px;
}

.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
  background-color: #fff !important;
}

.ant-popover-arrow {
  display: none !important;
}